Test-driven Language Derivation with Graph Transformation-Based Dynamic Meta Modeling

نویسندگان

  • Gregor Engels
  • Christian Soltenborn
چکیده

Deriving a new language LB from an already existing one LA is a typical task in domain-specific language engineering. Here, besides adjusting LA’s syntax, the language engineer has to modify the semantics of LA to derive LB’s semantics. Particularly, in case of behavioral modeling languages, this is a difficult and errorprone task, as changing the behavior of language elements or adding behavior for new elements might have undesired side effects. Therefore, we propose a test-driven language derivation process. In a first step, the language engineer creates example models containing the changed or newly added elements in different contexts. For each of these models, the language engineer also precisely describes the expected behavior. In a second step, each example model and its description of behavior is transformed into an executable test case. Finally, these test cases are used when deriving the actual semantics of LB at any time, the language engineer can run the tests to verify whether the changes he performed on LA’s semantics indeed produce the desired behavior. In this paper, we illustrate the approach using our graph transformation-based semantics specification technique Dynamic Meta Modeling. This is once more an example where the graph transformation approach shows its strengths and appropriateness to support software engineering tasks as, e.g., model transformations, software specifications, or tool development.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Hybrid Meta-heuristic Approach to Cope with State Space Explosion in Model Checking Technique for Deadlock Freeness

Model checking is an automatic technique for software verification through which all reachable states are generated from an initial state to finding errors and desirable patterns. In the model checking approach, the behavior and structure of system should be modeled. Graph transformation system is a graphical formal modeling language to specify and model the system. However, modeling of large s...

متن کامل

Aspect Oriented UML to ECORE Model Transformation

With the emerging concept of model transformation, information can be extracted from one or more source models to produce the target models. The conversion of these models can be done automatically with specific transformation languages. This conversion requires mapping between both models with the help of dynamic hash tables. Hash tables store reference links between the elements of the source...

متن کامل

Implementing a MOF-Based Metamodeling Environment Using Graph Transformations

Versatile model-based design demands languages and tools which are suitable for the creation, manipulation, transformation, and composition of domain-specific modeling languages and domain models. The Meta Object Facility (MOF) forms the cornerstone of the OMG’s Model Driven Architecture (MDA) as the standard metamodeling language for the specification of domain-specific languages. We have impl...

متن کامل

Supporting Model-to-Model Transformations: The VMT Approach

The model-driven architecture approach (MDA) promotes software development as driven by a thorough modeling phase where application code is automatically generated from a platform specific UML model (PSM). The idea is that the PSM is itself derived from a platform independent UML model (PIM). Such code generation and model derivation are examples of model-to-model transformations. This paper pr...

متن کامل

UML Models to CSP Models in MOMENT2-GT

MOMENT2 is an algebraic model management framework that permits manipulating models in the Eclipse Modeling Framework (EMF) [1]. Our goal consists in using OMG standards, such as Meta-Object Facility (MOF) [2], Object Constraint Language [3] and Query/View/Transformation (QVT) [4], as a clean interface between formal methods and model-based industrial tools that permits taking the best benefit ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • ECEASST

دوره 30  شماره 

صفحات  -

تاریخ انتشار 2010